Mutable Map
Parameters
the type of map keys. The map is invariant in its key type.
the type of map values. The mutable map is invariant in its value type.
Types
Represents a key/value pair held by a MutableMap.
Functions
Properties
Returns a MutableSet of all key/value pairs in this map.
Returns a MutableSet of all keys in this map.
Returns a MutableCollection of all values in this map. Note that this collection may contain duplicate values.
Inheritors
Extensions
Returns the value for the given key. If the key is not found in the map, calls the defaultValue function, puts its result into the map under the given key and returns it.
Returns a MutableIterator over the mutable entries in the MutableMap.
Removes the entry with the given key from this mutable map.
Removes all entries the keys of which are contained in the given keys collection from this mutable map.
Removes all entries the keys of which are contained in the given keys array from this mutable map.
Removes all entries from the keys of which are contained in the given keys sequence from this mutable map.
Appends or replaces the given pair in this mutable map.
Appends or replaces all pairs from the given collection of pairs in this mutable map.
Appends or replaces all pairs from the given array of pairs in this mutable map.
Appends or replaces all pairs from the given sequence of pairs in this mutable map.
Appends or replaces all entries from the given map in this mutable map.
Puts all the given pairs into this MutableMap with the first component in the pair being the key and the second the value.
Puts all the elements of the given collection into this MutableMap with the first component in the pair being the key and the second the value.
Puts all the elements of the given sequence into this MutableMap with the first component in the pair being the key and the second the value.
Removes the specified key and its corresponding value from this map.
Returns a wrapper of this mutable map, having the implicit default value provided with the specified function defaultValue.